package lab02.test11;

public class Test {
    public static void main(String[] args) {
        Rectangle rectangle = new Rectangle();
        rectangle.height = 10;
        rectangle.width = 15;
        rectangle.printMyWay();

        Square square = new Square();
        square.width = 10;
        square.printMyWay();
    }
}
